<style>
	#sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
	#sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.4em; height: 18px; }
	#sortable li span { position: absolute; margin-left: -1.3em; }
    .warn{
      background-color:yellow;
      color:red;
      font-size:13px;
      border:#CC6600 2px dotted;
    }	
</style>
<button class="savePrioriy">保存</button>
<div class="warn">
优先级越高的权限请往上移动
</div>
<ul id="sortable">
	<#list beans?sort_by("priority") as bean>	
	  <li id="${bean.name}" class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>[${bean.priority}]${bean.description}</li>
    </#list>
</ul>
<script type='text/javascript' src="scripts/apps/admin/securole/priority.js"></script>